package com.swt.gap.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author sx
 */
@Data
@ApiModel
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EntityDict {
    private Integer dictId;

    private String text;

    @ApiModelProperty("类型名称， 可不填")
    private String entityType;

    private Integer entityTypeId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:dd:mm")
    private Date createdTime;

    @ApiModelProperty("创建人")
    private String createdBy;

    private Integer firstOntologyNodeId;

    private Integer secondOntologyNodeId;
}